package me.firstapp.repository.zerone.cqssc;

import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.zerone.cqssc.CqsscLotteryResult;
import me.firstapp.repository.base.EntityRepository;

public interface CqsscLotteryResultRepository extends EntityRepository<CqsscLotteryResult> {

	Page<CqsscLotteryResult> findPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType);

	CqsscLotteryResult findByIssueNo(String issueNo);

	List<CqsscLotteryResult> findByIssueDate(String startIssueDate, String endIssueDate);

	List<CqsscLotteryResult> findListByIssueDateAndSubNum(String issueDate, Integer startIssueSubNum,
			Integer endIssueSubNum);

}
